<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.w3.org/1999/xhtml">
<head th:replace="/layout :: htmlhead" th:with="title='后台管理'">
</head>
<body>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-form-item" lay-filter="searchForm">
                <form class="layui-form" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label">调用方</label>
                        <div class="layui-input-inline">
                            <input id="requesterSearch" class="layui-input" type="text"/>
                        </div>
                        <label class="layui-form-label">登录IP</label>
                        <div class="layui-input-inline">
                            <input id="terminalIdSearch" class="layui-input" type="text"/>
                        </div>
                        <div class="layui-input-inline">
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                            <button class="layui-btn" lay-submit="" lay-filter="searchSubmit">查询</button>
                        </div>
                    </div>
                </form>

            </div>
            <div class="layui-card">
                <!--<div class="layui-card-header">-->
                <!--</div>-->
                <div class="layui-card-body">
                    <table class="layui-hide" id="table" lay-filter="table"></table>

                    <script type="text/html" id="table-title">
                        <h2><b>接口日志列表</b></h2>
                    </script>

                    <script type="text/html" id="table-toolbar">
                        <a class="layui-btn layui-btn-xs" lay-event="view" shiro:hasPermission="interLog:view">详细</a>
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>

<div id="interLogEdit" class="layer_self_wrap" style="display:none;">
    <form id="interLogForm" lay-filter="interLogForm" class="layui-form layui-form-pane" method="post"
          style="margin-top: 20px;" action="">
        <div class="layui-form-item">
            <label class="layui-form-label">接口ID</label>
            <div class="layui-input-inline">
                <input name="jkid" readonly class="layui-input" type="text">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">调用方</label>
            <div class="layui-input-inline">
                <input name="requester" readonly class="layui-input" type="text">
            </div>
            <label class="layui-form-label">调用IP</label>
            <div class="layui-input-inline">
                <input name="terminal_id" readonly class="layui-input" type="text"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">请求正文</label>
            <div class="layui-input-inline" style="width: 50%">
                <textarea name="interface_condition" style="width: 100%;height: 100px"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">返回内容</label>
            <div class="layui-input-inline" style="width: 50%">
                <textarea name="interface_result" style="width: 100%;height: 100px"></textarea>
            </div>
        </div>
    </form>
</div>
<script th:src="@{/js/auditManager/interLog.js}"></script>
</body>
</html>